package com.bestcem.xm;

import com.bestcem.xm.common.core.annotation.EnableCustomConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.FilterType;

@EnableCustomConfig
@SpringBootApplication
@ComponentScan(value = {
        "com.bestcem.xm.common.core",
        "com.bestcem.xm.component",
        "com.bestcem.xm.label",
        "com.bestcem.xm.member",
        "com.bestcem.xm.script"
}, excludeFilters = {
        @ComponentScan.Filter(type = FilterType.REGEX, pattern = "com.bestcem.xm.common.core.sign.*")
}
)
public class BestcemApplication {
    public static void main(String[] args) {
        SpringApplication.run(BestcemApplication.class, args);
    }
}
